package jp.co.lkg.springsmp.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import jp.co.lkg.springsmp.common.dao.BirthplaceDao;
import jp.co.lkg.springsmp.common.db.dto.BirthplaceDto;
import jp.co.lkg.springsmp.services.BirthplaceService;


@Component
public class BirthplaceServiceImpl implements BirthplaceService {

	
	
	@Autowired
    private BirthplaceDao birthplaceDao;

	@Override
	public BirthplaceDto selectByPk(BirthplaceDto dto) {
		
		return birthplaceDao.selectByPk(dto);
	}

	@Override
	public List<BirthplaceDto> select(BirthplaceDto dto) {
		// TODO Auto-generated method stub
		return birthplaceDao.select(dto);
	}

	@Override
	public void insert(BirthplaceDto dto) {
		birthplaceDao.insert(dto);
		
	}

	@Override
	public void updateByPk(BirthplaceDto dto) {
		// TODO Auto-generated method stub
		birthplaceDao.updateByPk(dto);
		
	}

	@Override
	public void deleteByPk(BirthplaceDto dto) {
		// TODO Auto-generated method stub
		birthplaceDao.deleteByPk(dto);
		
	}

	@Override
	public void updateIncludeNull(BirthplaceDto dto) {
		// TODO Auto-generated method stub
		birthplaceDao.updateIncludeNull(dto);
		
	}

	

}
